﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Windows.Forms;
using Microsoft.WindowsCE.Forms;

namespace RotateMe
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [MTAThread]
        static void Main()
        {
            if (SystemSettings.ScreenOrientation == ScreenOrientation.Angle0)
                SystemSettings.ScreenOrientation = ScreenOrientation.Angle90;
            else
                SystemSettings.ScreenOrientation = ScreenOrientation.Angle0;
        }
    }
}